package cn.iocoder.yudao.module.signature.validatap12status.cermb;

import java.util.Date;

/**
 * 证书信息类
 */
public class CertificateInfo {
    private String alias;
    private String subjectDN;
    private String issuerDN;
    private String serialNumber;
    private Date notBefore;
    private Date notAfter;
    private String fingerprint;
    private String certificateType;
    
    // Getters and Setters
    public String getAlias() { 
        return alias; 
    }
    
    public void setAlias(String alias) { 
        this.alias = alias; 
    }
    
    public String getSubjectDN() { 
        return subjectDN; 
    }
    
    public void setSubjectDN(String subjectDN) { 
        this.subjectDN = subjectDN; 
    }
    
    public String getIssuerDN() { 
        return issuerDN; 
    }
    
    public void setIssuerDN(String issuerDN) { 
        this.issuerDN = issuerDN; 
    }
    
    public String getSerialNumber() { 
        return serialNumber; 
    }
    
    public void setSerialNumber(String serialNumber) { 
        this.serialNumber = serialNumber; 
    }
    
    public Date getNotBefore() { 
        return notBefore; 
    }
    
    public void setNotBefore(Date notBefore) { 
        this.notBefore = notBefore; 
    }
    
    public Date getNotAfter() { 
        return notAfter; 
    }
    
    public void setNotAfter(Date notAfter) { 
        this.notAfter = notAfter; 
    }
    
    public String getFingerprint() { 
        return fingerprint; 
    }
    
    public void setFingerprint(String fingerprint) { 
        this.fingerprint = fingerprint; 
    }
    
    public String getCertificateType() { 
        return certificateType; 
    }
    
    public void setCertificateType(String certificateType) { 
        this.certificateType = certificateType; 
    }
    
    @Override
    public String toString() {
        return "CertificateInfo{" +
                "alias='" + alias + '\'' +
                ", subjectDN='" + subjectDN + '\'' +
                ", issuerDN='" + issuerDN + '\'' +
                ", serialNumber='" + serialNumber + '\'' +
                ", notBefore=" + notBefore +
                ", notAfter=" + notAfter +
                ", fingerprint='" + fingerprint + '\'' +
                ", certificateType='" + certificateType + '\'' +
                '}';
    }
} 